<template>
  <div>
    <Chart :cdata="dataPieYear" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      dataPieYear: {},
      dataPieMonthLast:{}
    }
  },
  components: {
    Chart,
  },
  mounted () {
    this.getPie()
  },
  methods: {
    getPie () {
      this.dataPieYear = {
        seriesData: [
          { value: 100, name: "泔水" },
          { value: 5, name: "废油脂" }
        ]
      }
    }
  }
}
</script>

<style lang="scss" scoped>
</style>